From: awilliam@xenbuild.aw Date: Mon, 8 May 2006 18:52:12 +0000 (-0600) Subject: [IA64] Fixed print_md X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~16113 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=067813adaf92cbd901f3b6710d80ed4ea02fdfd8;p=xen.git [IA64] Fixed print_md This patch fixed the domain memory information that print_md() output. Signed-off-by: Masaki Kanno --- diff --git a/xen/arch/ia64/xen/dom_fw.c b/xen/arch/ia64/xen/dom_fw.c index 7e8c63b1f7..a7d3373da8 100644 --- a/xen/arch/ia64/xen/dom_fw.c +++ b/xen/arch/ia64/xen/dom_fw.c @@ -462,7 +462,7 @@ xen_pal_emulator(unsigned long index, u64 in1, u64 in2, u64 in3) static void print_md(efi_memory_desc_t *md) { #if 1 - printk("domain mem: type=%u, attr=0x%lx, range=[0x%016lx-0x%016lx) (%luMB)\n", + printk("domain mem: type=%2u, attr=0x%016lx, range=[0x%016lx-0x%016lx) (%luMB)\n", md->type, md->attribute, md->phys_addr, md->phys_addr + (md->num_pages << EFI_PAGE_SHIFT), md->num_pages >> (20 - EFI_PAGE_SHIFT));